package com.oig.auth.api.fallback;

import com.oig.auth.api.ResourceDataCfgService;
import com.oig.sys.auth.vo.UserDataCfgVo;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class ResourceDataCfgServiceFallbackImpl implements ResourceDataCfgService {

    @Setter
    private Throwable cause;


    @Override
    public UserDataCfgVo getUserDataCfg(Integer resourceId) {
        log.error("feign getUserDataCfg error ", cause);
        return null;
    }

}
